\begin{appendix}
\begin{lstlisting}[language=C]
#include <stdio.h>
int main(void) {
    printf("hello world");
    return 0;
}
\end{lstlisting}
\end{appendix}